package com.financial.service.integralpay.mq;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * describe:
 *
 * @author zhaopengjun
 * @date 2019/5/17 16:22
 */
@Component
public class FinancialIntegralPayMQConfig {
    //够样中心topic
    public static  String INTEGRAL_TOPIC;
    public static  String INTEGRAL_GROUPID;
    public static final String ACCESS_KEY = "LTAIkLoCSLqX7QFG";
    public static final String SECRET_KEY = "anr8xwxEFrN4Rq0Gjw5MXxELuDb12V";
    public static final String NAMESRV_ADDR = "http://onsaddr.mq-internet-access.mq-internet.aliyuncs.com:80";

    @Value("${RocketMQ_Key.Integral.Topic}")
    private void setBalancepay(String TOPIC) {
        FinancialIntegralPayMQConfig.INTEGRAL_TOPIC = TOPIC;
    }

    @Value("${RocketMQ_Key.Integral.GroupId}")
    private void setYsGroupId(String groupId) {
        FinancialIntegralPayMQConfig.INTEGRAL_GROUPID = groupId;
    }

    //银盛代付通知积分支付平台
    public static final String INTEGRAL = "INTEGRAL";


    public static final String  TAG_ALL = "*";

}
